package com.qfedu.microuser;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
// @SpringBootApplication(scanBasePackages = "com.qfedu")
@MapperScan("com.qfedu.microuser.**.mapper")
// 指定扫描的父包
@ComponentScan("com.qfedu")
// @ComponentScan(basePackages = {"com.qfedu.common", "com.qfedu.microuser"})
public class MicroUserApplication {

    public static void main(String[] args) {
        SpringApplication.run(MicroUserApplication.class, args);
    }
}
